package com.stream;

import com.stream.topic.Producter;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * <p>
 *
 * </p>
 *
 * @author gzj
 * @since 2022/10/10
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class test {

//    @Autowired
//    private Topic producter;

    @Autowired
    private Producter producter;

    @Test
    public void test(){
        producter.send("11111");
        System.out.println("11111");
    }
}
